package com.zrwl.poscloud.base.constants;

public class HomeworkBatchConstants {
    /***
     * type 类型: 全科，指定班级，指定人员
     */
    public static final int type_all_course = 1;//全科
    public static final int type_class = 2;//指定班级
    public static final int type_employee = 3;//指定人员
    public static String getTypeName(int type) {
        switch (type) {
            case type_all_course:
                return "全科";
            case type_class:
                return "指定班级";
            case type_employee:
                return "指定人员";
            default:
                return "其他";
        }
    }

    /**
     * repeat_type 重复类型
     */
    public static final int repeat_type_non = 0;//不重复
    public static final int repeat_type_day = 1;//每天一次
    public static final int repeat_type_week = 2;//每周一次
    public static final int repeat_type_month = 3;//每月一次

    public static String getRepeatTypeName(int type) {
        switch (type) {
            case repeat_type_non:
                return "不重复";
            case repeat_type_day:
                return "每天一次";
            case repeat_type_week:
                return "每周一次";
            case repeat_type_month:
                return "每月一次";
            default:
                return "其他";
        }
    }
    /**
     * status 重复类型
     */
    public static final int not_release = 1;//未发布
    public static final int release = 2;//已发布
    public static final int repeal = 3;//未发布

}
